package com.gdc.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * Description: 消费者订单模块，引入Openfeign 和 Hystrix 功能
 *
 * | @EnableEurekaClient                        开启 Eureka 客户端注解
 * | @EnableFeignClients                        开启 OpenFeign 功能
 * | @EnableHystrix                             开启 Hystrix 断路器功能
 *
 * @author: gdc
 * @date: 2021/2/1
 * @version 1.0
 */
@EnableHystrix
@EnableFeignClients
@SpringBootApplication
public class CloudConsumerOpenfeignHystrixOrder80Application {

    public static void main(String[] args) {
        SpringApplication.run(CloudConsumerOpenfeignHystrixOrder80Application.class, args);
    }

}
